package cn.mfk.pethome.dept.mapper;

import cn.mfk.pethome.dept.domain.Department;
import cn.mfk.pethome.dept.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentMapper {

    List<Department> findAll(DepartmentQuery query);

    Long findCountAll(DepartmentQuery query);

    Department findOne(Long id);

    void addDept(Department department);


    void upDept(Department department);

    void delDept(Long id);
}
